package com.hs.biye.service;

import com.hs.biye.model.DTO.RegistrationRequest;
import com.hs.biye.model.VO.PatientVo;
import com.hs.biye.model.VO.RegistrationVo;
import com.hs.biye.model.entity.Registration;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hs.biye.model.reslut.ResultPage;

import java.util.List;

/**
* @author haoshuai
* @description 针对表【registration】的数据库操作Service
* @createDate 2024-01-18 14:05:00
*/
public interface RegistrationService extends IService<Registration> {

    // 分页查询挂号记录
    ResultPage<RegistrationVo> getPage(RegistrationRequest request);


    //删除
    Boolean deleteRegistration(Integer id);


    //历史订单
    List<RegistrationVo> regList(Integer id);



    //添加挂号记录
    Boolean addRegistration(Registration registration);




}
